<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{matrizDeIncompatibilidades.page1}" id="page1">
            <ui:html binding="#{matrizDeIncompatibilidades.html1}" id="html1">
                <ui:head binding="#{matrizDeIncompatibilidades.head1}" id="head1">
                    <ui:link binding="#{matrizDeIncompatibilidades.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{matrizDeIncompatibilidades.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{matrizDeIncompatibilidades.form1}" id="form1">
                        <ui:staticText binding="#{matrizDeIncompatibilidades.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 72px; top: 120px; position: absolute" text="Matriz de incompatibilidades"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.productoDropDownOr}" id="productoDropDownOr"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderProductoOri.options['CDGOPRDCTO,DSCRPCION']}"
                            onChange="common_timeoutSubmitForm(this.form, 'productoDropDownOr');"
                            style="font-size: 10px; left: 168px; top: 192px; position: absolute; width: 240px" valueChangeListener="#{matrizDeIncompatibilidades.productoDropDownOr_processValueChange}"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.sublineaDropDownOri}" id="sublineaDropDownOri"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderSublineaOri.options['CDGOSBLNEA,DSCRPCIONSBLNEA']}"
                            onChange="common_timeoutSubmitForm(this.form, 'sublineaDropDownOri');"
                            style="font-size: 10px; left: 168px; top: 216px; position: absolute; width: 240px" valueChangeListener="#{matrizDeIncompatibilidades.sublineaDropDownOri_processValueChange}"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.tipoSolicitudDropDownOri}" id="tipoSolicitudDropDownOri"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderTipoSolOri.options['SCT0021.CDGOTPOSLCTUD,SCT0021.DSCRPCIONTPOSLCTUD']}"
                            onChange="" style="font-size: 10px; left: 168px; top: 240px; position: absolute; width: 240px"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.productoDropDownInc}" id="productoDropDownInc"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderProductoInc.options['CDGOPRDCTO,DSCRPCION']}"
                            onChange="common_timeoutSubmitForm(this.form, 'productoDropDownInc');"
                            style="font-size: 10px; left: 528px; top: 192px; position: absolute; width: 264px" valueChangeListener="#{matrizDeIncompatibilidades.productoDropDownInc_processValueChange}"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.sublineaDropDownInc}" id="sublineaDropDownInc"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderSublineaInc.options['CDGOSBLNEA,DSCRPCIONSBLNEA']}"
                            onChange="common_timeoutSubmitForm(this.form, 'sublineaDropDownInc');"
                            style="font-size: 10px; left: 528px; top: 216px; position: absolute; width: 264px" valueChangeListener="#{matrizDeIncompatibilidades.sublineaDropDownInc_processValueChange}"/>
                        <ui:dropDown binding="#{matrizDeIncompatibilidades.tipoSolicitudDropDownInc}" id="tipoSolicitudDropDownInc"
                            items="#{matrizDeIncompatibilidades.sct0021DataProviderTipoSolInc.options['SCT0021.CDGOTPOSLCTUD,SCT0021.DSCRPCIONTPOSLCTUD']}"
                            onChange="common_timeoutSubmitForm(this.form, 'tipoSolicitudDropDownInc');" style="font-size: 10px; left: 528px; top: 240px; position: absolute; width: 264px"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label1}" id="label1" style="left: 96px; top: 192px; position: absolute" text="Producto"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label2}" id="label2" style="left: 96px; top: 216px; position: absolute" text="Sublinea"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label3}" id="label3" style="left: 72px; top: 240px; position: absolute" text="Tipo solicitud"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label4}" id="label4" style="left: 456px; top: 192px; position: absolute" text="Producto"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label5}" id="label5" style="left: 456px; top: 216px; position: absolute" text="Sublinea"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label6}" id="label6" style="left: 432px; top: 240px; position: absolute" text="Tipo solicitud"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label7}" id="label7"
                            style="color: rgb(0, 153, 153); font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; left: 240px; top: 168px; position: absolute" text="Original"/>
                        <ui:label binding="#{matrizDeIncompatibilidades.label8}" id="label8"
                            style="color: rgb(0, 153, 153); font-family: 'Verdana','Arial','Helvetica',sans-serif; font-size: 14px; font-weight: bold; height: 24px; left: 600px; top: 168px; position: absolute" text="Incompatible"/>
                        <ui:button action="#{matrizDeIncompatibilidades.botonCrearInc_action}" binding="#{matrizDeIncompatibilidades.botonCrearInc}"
                            id="botonCrearInc" mini="true" primary="true" style="left: 71px; top: 144px; position: absolute; width: 120px" text="Crear incompatiblidad"/>
                        <ui:hiddenField binding="#{matrizDeIncompatibilidades.primeraCargadaHD}" id="primeraCargadaHD"/>
                        <ui:alert binding="#{matrizDeIncompatibilidades.alert1}" id="alert1" style="left: 72px; top: 264px; position: absolute; width: 646px"/>
                        <ui:table augmentTitle="false" binding="#{matrizDeIncompatibilidades.matrizIncompTable}" id="matrizIncompTable" lite="true"
                            style="left: 72px; top: 336px; position: absolute; width: 676px" title="Matriz de incompatibilidades" width="676">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{matrizDeIncompatibilidades.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{matrizDeIncompatibilidades.sct0033DataProviderMatrizInc}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn2}" headerText="Producto 1" id="tableColumn2">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText2}" id="staticText2" style="font-size: 10px" text="#{currentRow.value['SCT0004.DSCRPCION']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn4}" headerText="Sublinea 1" id="tableColumn4" width="100">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText4}" id="staticText4" style="font-size: 10px" text="#{currentRow.value['SCT0004.DSCRPCIONSBLNEA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn6}" headerText="Tipo solicitud 1" id="tableColumn6">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText6}" id="staticText6" style="font-size: 10px" text="#{currentRow.value['SCT0004.DSCRPCIONTPOSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn8}" headerText="Producto 2" id="tableColumn8">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText8}" id="staticText8" style="font-size: 10px" text="#{currentRow.value['SCT0004.PRODUCTO2']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn10}" headerText="Sublinea 2" id="tableColumn10">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText10}" id="staticText10" style="font-size: 10px" text="#{currentRow.value['SCT0004.SUBLINEA2']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{matrizDeIncompatibilidades.tableColumn12}" headerText="Tipo solicitud 2" id="tableColumn12">
                                    <ui:staticText binding="#{matrizDeIncompatibilidades.staticText12}" id="staticText12" style="font-size: 10px" text="#{currentRow.value['SCT0004.TIPOSOL2']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{matrizDeIncompatibilidades.tableColumn1}" id="tableColumn1">
                                    <ui:button action="#{matrizDeIncompatibilidades.botonEliminar_action}" binding="#{matrizDeIncompatibilidades.botonEliminar}"
                                        id="botonEliminar" imageURL="/resources/cancel.gif" text="texto"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
